do "put empty into line" && ThisLine && "of" && whatField
end if
-- end doing something to selected line
end mouseUp
-- part 2 (button)
-- low flags: 80
-- high flags: 4000
-- rect: left=286 top=110 right=121 bottom=326
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Hilighter
-- part 3 (field)
-- low flags: 00
-- high flags: 4000
-- rect: left=328 top=31 right=137 bottom=493
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 13
-- part name: Click select 1
-- part 4 (button)
-- low flags: 00
-- high flags: A005
-- rect: left=290 top=146 right=168 bottom=498
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SHOW the Hilighter Button
----- HyperTalk script -----
on mouseUp
put the name of the target into ThisName
if the visible of card button "Hilighter" is true then
hide card button "Hilighter"
set the name of ThisName to "SHOW the Hilighter Button"
else
show card button "Hilighter"
set the name of ThisName to "HIDE the Hilighter Button"
end if
end mouseUp
-- part 5 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=265 top=20 right=35 bottom=325
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name:
----- HyperTalk script -----
on mouseUp
edit script of card field "Click Select 1"
end mouseUp
-- part contents for background part 8
----- text -----
Card 10 of 20
-- part contents for card part 1
----- text -----
XXX
XXX
XXX
XXX
-- part contents for card part 3
----- text -----
Eggs
Butter
Flower
Salt
Pepper
This Item
This Item
This Item
-- part contents for background part 9
----- text -----
CLICK SELECT
When you click on the field, it automatically puts XXX into the field to mark it.
This type of marker is very useful because it is a field, and if used on the background, it will work on every card and retain its own settings from card to card.
You can resize this field to hold only one item, or as many as needed.
Currently, the script is set to put XXX into the line that is clicked on, but you can change it to whatever you want.